package com.first.system.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.first.common.pojo.EduCourse;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * @program: first-project
 * @description:
 * @author: 闫锦超
 * @create: 2023-05-29 18:41
 **/

public interface ZoneCourseDao extends BaseMapper<EduCourse> {
    IPage<EduCourse> findAllCourse(IPage<EduCourse> iPage, @Param("ew") Wrapper<EduCourse> wrapper);

    List<String> findCourseByZoneId(String zoneId);

    IPage<EduCourse> findAllZoneCourse(IPage<EduCourse> iPage, @Param("ew") Wrapper<EduCourse> wrapper);
}
